class VideoCatalogController < ApplicationController
  def index
    @video_products = VideoProduct.order('title ASC')
  end
  def popularity_all
    @video_products = VideoProduct.order('nr_views DESC')
  end
  def release_date_all
    @video_products = VideoProduct.order('release_date DESC')
  end
  def added_date_all
    @video_products = VideoProduct.order("added_date DESC")
  end


end
